import * as types from './mutation-types'

export default{
 [types.getBindStudent](state, data) {
    data = data || []
    state.studentList = data
    state.currentStudent = data[0] || {}
 },
 [types.changeCurrentStudent](state, data) {
   state.currentStudent = data
}
}